// 户口性质变更
import request from "@/utils/https/requests";

// 列表
export function menHkUpList(data: any) {
    return request({
        url: "/menHkUp/list", method: "post", data,
    });
}

// 添加
export function postAddMenHkUp(data: any) {
    return request({
        url: "/menHkUp/postAdd", method: "post", data,
    });
}

// 修改
export function postModMenHkUp(data: any) {
    return request({
        url: `/menHkUp/postMod/{${data.id}`, method: "post", data,
    });
}

// 删除
export function postDeleteMenHkUp(id: string) {
    return request({
        url: `/menHkUp/postDelete/${id}`, method: "post",
    });
}

// 逻辑 删除
export const postLogicDeleteMenHkUp = (id) => {
    return request({
        url: `/menHkUp/postLogicDelete/${id}`, method: 'post'
    })
}

// 详情
export function menHkUpDetail(id: string) {
    return request({
        url: `/menHkUp/detail/${id}`, method: "post",
    });
}